From 8fc503a014a2d7da1435bf0096b393f2394c0f41 Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Sat, 12 Nov 2005 17:51:14 +0100 Subject: [PATCH] Disable use of mmap. This allows Xenstored to run with an NFS-mounted /var/lib/xenstored. Closes bug #400. This fix no doubt has a performance hit, so I have opened bug #401 to discuss a better fix. Signed-off-by: Ewan Mellor --- tools/xenstore/tdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xenstore/tdb.c b/tools/xenstore/tdb.c index fdf3d5a837..7ebf37a941 100644 --- a/tools/xenstore/tdb.c +++ b/tools/xenstore/tdb.c @@ -45,7 +45,7 @@ #include "tdb.h" #include #include "talloc.h" -#define HAVE_MMAP +#undef HAVE_MMAP #else #include "includes.h" #include "lib/tdb/include/tdb.h" -- 2.30.2